// Kony

#pragma once

#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "SaveInterface.generated.h"

// This class does not need to be modified.
UINTERFACE(MinimalAPI)
class USaveInterface : public UInterface
{
	GENERATED_BODY()
};

/**
 * 保存接口，继承这个接口的Actor 就说明需要保存，用于Base_GameModeBase 中 SaveWorldState函数判断Actor是否需要保存等功能
 */
class GASC_HUANLING_API ISaveInterface
{
	GENERATED_BODY()

	// Add interface functions to this class. This is the class that will be inherited to implement this interface.
public:
	//是否需要加载位置
	UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
	bool ShouldLoadTransform();

	//从存档中加载 Actor 状态
	UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
	void LoadActor();
};
